<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $q = Doctrine_Query::create()
        	->from('TTF_Model_Foods f');
        $result = $q->fetchArray();
        $this->view->foods = $result;        
    }
}

